#ifndef TRANSMISSION_H
#define TRANSMISSION_H

#include "WPILib.h"

//------------------------------------------------------------------------------
// DEFINE Transmission CLASS
//------------------------------------------------------------------------------
//
//------------------------------------------------------------------------------
class Transmission
{
	public:
		static const int kHighSpeed = 2;
		static const int kLowSpeed  = 1;
		Transmission();
		Transmission(UINT32 forwardChannel, UINT32 reverseChannel);
		Transmission(UINT8 moduleNumber, UINT32 forwardChannel
				                       , UINT32 reverseChannel);
		~Transmission();
		void ShiftGear(int gearSpeed);
		int  GetGear();
	protected:
		void ShiftHigh();
		void ShiftLow();

		DoubleSolenoid *pGear;
		int            gearStatus;
};
#endif
